DomainObjects Class Library

Query<ClassToFind>.GetObjectSetCount Method 

Returns the total number of objects that would be retrieved if FindObjectSet were executed against this query.

public int GetObjectSetCount();

Example

See the unit test QueryTests.GetObjectSetCount_FromClassWithSinglePrimaryKeyColumn()

See Also

Query<ClassToFind> Class | DomainObjects.Facade.Command Namespace